package com.xxgc.mq.message;

import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * 自动签收
 */
//@Component
//@RabbitListener(queues = "my_queue")//监听队列
//public class WllxgMessage {
//
//    @RabbitHandler//当收到信息的时候就给下面方法处理
//    public void ListenMessage(Map message){
//        System.out.println("message:"+message.toString());
//    }
//}


